How to remove adornments like [exec] when using groovy's AntBuilder
Posted
by Miguel Pardal
on Stack Overflow
See other posts from Stack Overflow
or by Miguel Pardal
Published on 2010-05-27T17:43:12Z
Indexed on
2010/05/28
9:41 UTC
Read the original article
Hit count: 305
Hi!
I'm using Groovy's AntBuilder to execute Ant tasks:
def ant = new AntBuilder()
ant.sequential {
ant.exec(executable: "cmd", dir: "..", resultproperty: "exec-ret-code") {
arg(value: "/c")
arg(line: "dir")
}
}
The output lines are prefixed by:
[exec]
Using Ant on the command line, this is turned off by "emacs mode"
ant -emacs ...
Is there a way to switch to emacs mode using AntBuilder?
© Stack Overflow or respective owner